package com.admin.service;

import com.admin.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author marisheng
 * @since 2019-11-21
 */
public interface IAddressService extends IService<Address> {
    /**
     * 新增地址
     * @param address
     * @return
     */
    public int add(String address);

    /**
     * 修改详细地址的信息
     * @param address
     * @param addressId
     * @return
     */
    public int updateAddress(String address, int addressId);
}
